Auth Collection
This class contains the fields found in auth collections, extend it if you want to view these fields.
Parameters
This rule is executed every time before authentication allowing you to restrict who can authenticate.
This rule is executed in addition to the create and update API rules. It enables superuser-like permissions to allow fully managing the auth record(s), eg. changing the password without requiring to enter the old one, directly updating the verified state or email, etc.
whether or not to send emails to users notifying them that they logged in on a new ip.
Options for oauth2.
Options for password authentication.
Options for MFA.
Options for OTP authentication.
The expiration time of a user's auth token.
The expiration time of a user's password reset token.
The expiration time of a user's email change token.
The expiration time of a user's verification token.
The expiration time of a file token
The email template used when sending a verification email
The email template used when sending a password reset email.
The email template used when sending an email change confirmation email.
Constructors
Types
Used to configure an auth collection's auth alert function.
Used to describe a Pocketbase email template.